home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / alphaosf.h next >
C/C++ Source or Header  |  1994-02-02  |  841b  |  27 lines

  1. #include <stddef.h>
  2. #include <fcntl.h>
  3. #include <errno.h>
  4. #include <stdio.h>
  5. #include <sys/types.h>
  6. #include <sys/stat.h>
  7. #include <ctype.h>
  8. #include <string.h>
  9. #include <sys/file.h>
  10. #include <alloca.h>
  11. #include <stdlib.h>
  12.  
  13. /* Make the basic types 64-bit quantities on the host.
  14.    Also provide the support macros BFD needs.  */
  15. #define    BFD_HOST_64_BIT    long
  16. #define sprintf_vma(s,x) sprintf (s, "%016lx", x) /* BFD_HOST_64_BIT */
  17. #define fprintf_vma(f,x) fprintf (f, "%016lx", x) /* BFD_HOST_64_BIT */
  18.  
  19. #define BYTES_IN_PRINTF_INT 4
  20.  
  21. /* These must have type unsigned long because they are used as
  22.    arguments in printf functions.  */
  23. #define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff))) /* BFD_HOST_64_BIT */
  24. #define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) /* BFD_HOST_64_BIT */
  25.  
  26. #include "fopen-same.h"
  27.